import axios from '@/utils/axios';

export function login(params){
    // return axios.post(`/login?username=${params.username}&password=${params.password}`)
    return axios.post(`/login`,params)
}

export function registerByPhone(params){
    return axios.post('/registerByPhone',params)
}
export function registerByEmail(params){
    return axios.post('/registerByEmail',params)
}